import request from '@/utils/request'

export function getWithdrawList(params) {
  return request({
    url: '/userBill/getWithdrawList',
    method: 'get',
    params
  })
}

export function getGiveGiftRecords(params) {
  return request({
    url: '/userBill/getGiveGiftRecords',
    method: 'get',
    params
  })
}

export function getUpdateBalanceList(params) {
  return request({
    url: '/userBill/getUpdateBalanceList',
    method: 'get',
    params
  })
}

export function getTotalWithdraw(params){
  return request({
    url: '/user/getTotalRecharge',
    method: 'get',
    params
  })
}

export function applyWithdraw(data) {
  return request({
    url: '/userBill/verify',
    method: 'post',
    data
  })
}
